//
//  BaseCollectionControllerModel.m
//  MZBasic
//
//  Created by Sings on 2019/9/7.
//

#import "BaseCollectionControllerModel.h"

@interface BaseCollectionControllerModel ()


@property (nonatomic, strong, readwrite) NSMutableArray<BaseCollectionSectionViewModel *> *sectionArray;

@property (nonatomic, assign, getter=isHeaderRefresh, readwrite) BOOL headerRefresh;

@property (nonatomic, assign, getter=isFooterRefresh, readwrite) BOOL footerRefresh;

@end

@implementation BaseCollectionControllerModel


- (NSMutableArray *)sectionArray {
    if (_sectionArray == nil) {
        _sectionArray = [NSMutableArray array];
    }
    return _sectionArray;
}

- (void)refreshTableHeaderEnd:(void (^)(void))refreshEnd {
    if (refreshEnd) {
        refreshEnd();
    }
}

- (void)refreshTableFooterEnd:(void (^)(void))refreshEnd {
    if (refreshEnd) {
        refreshEnd();
    }
}

- (void) oldPath:(NSIndexPath *) path MoveToPath:(NSIndexPath *) newPath {
    
}

@end
